private class PropertyPlaceholderConfigurer.PlaceholderResolvingStringValueResolver extends java.lang.Object implements StringValueResolver
Modifier and Type | Field and Description |
---|---|
private PropertyPlaceholderHelper |
helper |
private PropertyPlaceholderHelper.PlaceholderResolver |
resolver |
Constructor and Description |
---|
PlaceholderResolvingStringValueResolver(java.util.Properties props) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
resolveStringValue(java.lang.String strVal)
Resolve the given String value, for example parsing placeholders.
|
private final PropertyPlaceholderHelper helper
private final PropertyPlaceholderHelper.PlaceholderResolver resolver
public PlaceholderResolvingStringValueResolver(java.util.Properties props)
@Nullable public java.lang.String resolveStringValue(java.lang.String strVal) throws BeansException
StringValueResolver
resolveStringValue
in interface StringValueResolver
strVal
- the original String value (never null
)null
when resolved to a null
value), possibly the original String value itself (in case of no placeholders
to resolve or when ignoring unresolvable placeholders)BeansException